local assets =
{
	Asset("ANIM", "anim/obsword_orangeshield.zip"),
}

local function fn()
	local inst = CreateEntity()
	inst.entity:AddTransform()
	inst.entity:AddAnimState()
	inst.entity:AddNetwork()
	inst.entity:AddLight()

	inst.Light:Enable(true)										-- 开启照明    false为关闭
    inst.Light:SetIntensity(.5)								-- 光照强度.99为强光
    inst.Light:SetColour(1, 1, 0)
    inst.Light:SetFalloff(0.6)									-- 最大范围再向外辐射的光效，1几乎不辐射
    inst.Light:SetRadius(0.5)										-- 照明范围
    inst.Light:EnableClientModulation(false)

	inst.AnimState:SetBank("obsword_orangeshield")
	inst.AnimState:SetBuild("obsword_orangeshield")
	inst.AnimState:PlayAnimation("open")
    inst.AnimState:PlayAnimation('idle_loop',true)
	inst.AnimState:SetScale(1,1,1)

	
	
	inst:AddTag("FX")
	
	inst.entity:SetPristine()
	
	if not TheWorld.ismastersim then
        return inst
    end
	
	
	
    return inst
end



return Prefab( "obsword_orangeshield", fn, assets)